/*
 * Player.java
 *
 * Created on 19 de mayo de 2008, 09:14 PM
 *
 * To change this template, choose Tools | Template Manager
 * and open the template in the editor.
 */

package com.pragmaticminds.forrest.game;

import com.pragmaticminds.forrest.geometry.Position;

/**
 *
 * @author Pablo
 */

public class Player {
        
    private int number;
    private Position strategicPosition;
    private Position actualPosition;
    private String role;
    private Action action;
    private int power;
    

    public static final String ROL_ILLEGAL = "ROL_ILLEGAL";           /*! Rol ilegal*/
    public static final String ROL_INTERCEPTOR = "ROL_INTERCEPTOR";   /*!Interceptar la pelota*/
    public static final String ROL_SHOOTER = "ROL_SHOOTER";           /*!Patear la pelota al arco, Pasar la pelota a un companiero en una direccion, Driblear, Despejar la pelota*/
    public static final String ROL_RECEPTOR = "ROL_RECEPTOR";         /*!Moverse en una direccion, Moverse estrategicamente*/
    public static final String ROL_PASIVE = "ROL_PASIVE";             /*!Moverse estrategicamente*/

    /** Creates a new instance of Player */
    public Player(int nro, int power) {
        this.number = nro;
        this.role = ROL_ILLEGAL;
        this.action = null;
        this.power = power;
    }

    public int getNro() {
        return number;
    }

    public void setNro(int nro) {
        this.number = nro;
    }

    public Position getActualPosition() {
        return this.actualPosition;
    }

    public void setActualPosition(Position actualPos) {
        this.actualPosition = actualPos;
    }

    public Position getStrategicPosition() {
        return this.strategicPosition;
    }

    public void setStrategicPosition(Position strategicPos) {
        this.strategicPosition = strategicPos;
    }

    public String getRole() {
        return role;
    }

    public void setRole(String role) {
        this.role = role;
    }

    public Action getAction() {
        return action;
    }

    public void setAction(Action action) {
        this.action = action;
    }
    
    public int getPower(){
        return this.power;
    }
    
    public void setPower(int power){
        this.power = power;
    }
}
